package com.linq.cool.beauty.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.linq.cool.beauty.domain.BeautyServiceStore;
import com.linq.cool.beauty.dto.BeautyServiceStoreQueryDTO;

/**
 * @Author: yqlin
 * @Date: 2021/2/13 22:15
 * @Description:
 * @Version: 1.0.0
 */

public interface BeautyServiceStoreService extends IService<BeautyServiceStore> {

    /**
     * 分页查询
     *
     * @param page
     * @param dto
     *
     * @return
     */
    IPage<BeautyServiceStore> listByPage(IPage<BeautyServiceStore> page, BeautyServiceStoreQueryDTO dto);

    /**
     * 新增
     *
     * @param serviceStore
     *
     * @return
     */
    boolean saveServiceStore(BeautyServiceStore serviceStore);

    /**
     * 修改
     *
     * @param serviceStore
     *
     * @return
     */
    boolean updateServiceStore(BeautyServiceStore serviceStore);
}
